<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>pear-admin-flask</title>
    <meta name="description" content="pear-admin-flask">
    <meta name="keyword" content="pear-admin-flask">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="{{ url_for('static', filename='/index/layui/css/layui.css') }}"/>
    <link rel="stylesheet" href="{{ url_for('static', filename='/index/css/main.css') }}"/>
    <link rel="stylesheet" href="{{ url_for('static', filename='/index/css/load.css') }}"/>
    <link rel="stylesheet" href="{{ url_for('static', filename='/admin/admin/css/other/login.css') }}"/>
    <style>
        .layui-nav .layui-this:after {
            display: none;
        }

        .layui-nav .layui-nav-bar {
            display: none;
        }
    </style>
</head>
<body background="{{ url_for('static', filename='/admin/admin/images/background_b.jpg') }}"
      style="background-size: cover;">
<!-- header -->
<div class="ew-header">
    <img class="layui-logo" src="{{ url_for('static', filename='/admin/admin/images/SF_logo.png') }}"
         style="height:50px;padding: 10px;"/>
    <img  src="{{ url_for('static', filename='/admin/admin/images/名字.png') }}"
         style="height:50px;padding: 10px;"/>
    <div class="ew-nav-group">
        <div class="nav-toggle"><i class="layui-icon layui-icon-more-vertical"></i></div>
        <ul class="layui-nav" lay-filter="ew-header-nav">
            <li class="layui-nav-item">
                <a lay-href="/">首页</a>
            </li>
    </div>
</div>
<!-- banner -->
<div class="ew-banner" style="box-shadow: 0 0 8px rgba(0,0,0,.101562);">
    <div class="layui-container">
        <div class="layui-row layui-col-space25" style="margin-top: 10px;">
            <div class="layui-col-md6  layui-col-xs12">
                <img style="margin-top: 0px;margin-bottom: 40px;width: 80%;"
                     src="{{ url_for('static', filename='/admin/admin/images/隶属监所.png') }}"></h1>
                <div>
                    <input class="layui-btn layui-btn-lg" type="button" value="深圳监狱" onclick="window.location.href='/admin'">
                    <input class="layui-btn" type="button" value="北京监狱" onclick="">
                    <br></br>
                    <input class="layui-btn" type="button" value="女子监狱" onclick="">&nbsp; &nbsp; &nbsp;
                    <input class="layui-btn" type="button" value="男子监狱" onclick="">
                </div>
                <!--<div class="layui-btn-container" style="margin-top: 50px;margin-bottom: 50px;">
                    <button class="layui-btn" id="demo">下拉菜单<i class="layui-icon layui-icon-down layui-font-12"></i>
                    </button>
                </div>-->
            </div>


            <div class="layui-col-md6 layui-col-xs12">
                <div class="ew-banner-right">
                    <img class="show" style="width: 56.5%;" style="margin-top: 0px!important;"
                         src="{{ url_for('static', filename='/admin/admin/images/徽章.jpg') }}">
                </div>
            </div>
        </div>
    </div>
    <br/>
    <br/>
    <br></br>
    <br></br>
</div>


<!-- js部分 -->
<script src="{{ url_for('static', filename='/admin/component/layui/layui.js') }}"></script>
<script src="{{ url_for('static', filename='/admin/component/pear/pear.js') }}"></script>

<script>
  layui.use('dropdown', function () {
    var dropdown = layui.dropdown
      dropdown.render({
        elem: '#demo'
        ,data: [{
          title: '北京'
          ,id: 100
        },{
          title: '深圳监所'
          ,id: 101
        },{
          title: '女子'
          ,id: 102
        },{
          title: '男子'
          ,id: 103
        }]
        ,id: 'demo'
        //菜单被点击的事件
        ,click: function(obj){
          console.log(obj);
          layer.msg('回调返回的参数已显示再控制台');
        }
      });
      form.render('');
  })



</script>
</body>
</html>
